package com.chengdu.third.service;

import com.chengdu.third.pojo.Laws;

import java.util.List;

/**
 * @author jingbo
 * @create 2021--08--15  21:36
 */
public interface ILawsService {

    //查询所有的laws
    public List<Laws> findAll();

    //根据id删除laws
    public void deleteByid(long id);

    //增加laws对象
    public void addlaws(Laws laws);

    //根据id查询laws对象
    public Laws getLawsById(long id);

    //根据id修改对象
    void updateLawsById(Laws laws);
}
